﻿@model Pro260Website.Models.CompanyNewsViewModel

@{
    ViewBag.Title = "Add Company News";
}

<div id="titlelessItem">
<div class="item">
    <h2 class="title @Html.GetColor(Request.Cookies["color"])">Add Company News</h2>

    @using (Html.BeginForm("AddCompanyNews", "Company", FormMethod.Post))
    {
        @Html.HiddenFor(m => m.CompanyId)
        @Html.EditorFor(m => m.Article)
        <input type="submit" value="Save" class="actionButtons @Html.GetColor(Request.Cookies["color"])" />
    }

    if(
    @Html.ActionLink("Back to Company List", "AdminListings", "Compnay",new { area = "Admin" }, new { @class = "actionButtons " + @Html.GetColor(Request.Cookies["color"]) })
</div>
</div>